package com.yanqu.road.entity.log.horserun;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_horse_run_adventure_over",autoSave = true,dataUpload = true,eventName = "horserun_riskend",uploadCk = true,desc = "小马快跑游戏结束日志")
public class HorseRunAdventureOverLog extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "轮次id",dataAttribute = "round_id")
    private int roundId;
    @FieldTypeAnnotation(desc = "场景选择",dataAttribute = "horserun_play")
    private int backGroundId;
    @FieldTypeAnnotation(desc = "奖励倍率",dataAttribute = "horserun_riskratio")
    private int openMultiple;
    @FieldTypeAnnotation(desc = "到达天数",dataAttribute = "horserun_riskday")
    private int riskDay;
    @FieldTypeAnnotation(desc = "增加经验",dataAttribute = "horserun_getexp")
    private int getExp;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getRoundId() {
        return roundId;
    }

    public void setRoundId(int roundId) {
        this.roundId = roundId;
    }

    public int getBackGroundId() {
        return backGroundId;
    }

    public void setBackGroundId(int backGroundId) {
        this.backGroundId = backGroundId;
    }

    public int getOpenMultiple() {
        return openMultiple;
    }

    public void setOpenMultiple(int openMultiple) {
        this.openMultiple = openMultiple;
    }

    public int getRiskDay() {
        return riskDay;
    }

    public void setRiskDay(int riskDay) {
        this.riskDay = riskDay;
    }

    public int getGetExp() {
        return getExp;
    }

    public void setGetExp(int getExp) {
        this.getExp = getExp;
    }

    public HorseRunAdventureOverLog(int activityId, long userId, int roundId, int backGroundId, int openMultiple, int riskDay, int getExp) {
        this.activityId = activityId;
        this.userId = userId;
        this.roundId = roundId;
        this.backGroundId = backGroundId;
        this.openMultiple = openMultiple;
        this.riskDay = riskDay;
        this.getExp = getExp;
    }
}